GrapeCity MultiRow Windows Forms Documentation
HeaderDropDownList Constructor(Int32,IEnumerable<DropDownItem>)


The cell index of the corresponding cells. The items display in the cells with the specified index.
Initializes a new instance of the HeaderDropDownList class with DropDownItem objects.
Syntax
Public Function New( _
   ByVal cellIndex As Integer, _
   ByVal dropDownItems As IEnumerable(Of DropDownItem) _
)
Dim cellIndex As Integer
Dim dropDownItems As IEnumerable(Of DropDownItem)
 
Dim instance As New HeaderDropDownList(cellIndex, dropDownItems)
public HeaderDropDownList( 
   int cellIndex,
   IEnumerable<DropDownItem> dropDownItems
)

Parameters

cellIndex
The cell index of the corresponding cells. The items display in the cells with the specified index.
dropDownItems
A collection of DropDownItem objects that indicates the items in the list.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe cellIndex is less than 0.
System.ArgumentNullExceptionThe dropDownItems parameter is a null reference (Nothing in Visual Basic).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HeaderDropDownList Class
HeaderDropDownList Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.